<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:c="http://java.sun.com/jsp/jstl/core">

    <body>

        <ui:composition template="./Test.xhtml">



            <ui:define name="content">


              
                    <fieldset style="height: 300px">
                        <legend><b>Update Tickets Category </b></legend>
                        

                            <table width="457" height="190" border="0">
                                <tr>
                                    <td><b>Name * </b></td>
                                    <td><p:inputText value="#{ticketsCatBean.selectTk.tcName}" id="name" required="true" requiredMessage="Name is not null">
                                     <f:validator validatorId="Validator.StringValidator"/></p:inputText>
                                    </td>
                                    <td><p:message for="name"/></td>
                                </tr>
                                <tr>
                                    <td><b>Price * </b></td>
                                    <td><p:inputText value="#{ticketsCatBean.selectTk.price}" id="price" required="true" requiredMessage="Price is not null">
                                     <!--<f:validator validatorId="Validator.CheckNumber"/>--></p:inputText>
                                    </td>
                                    <td><p:message for="price"/></td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td>
                                        <h:commandButton value="Update" action="TicketsCategory" actionListener="#{ticketsCatBean.updateTicketsCat}" type="image" image="../resources/images/forms/form_submit.gif"/>
                                        
                                        <h:commandButton value="Cancel" action="TicketsCategory" type="image" image="../resources/images/forms/form_reset.gif"/>
                                    </td>
                                    <td></td>
                                </tr>
                            </table>
                       
                    </fieldset>
             



            </ui:define>



        </ui:composition>

    </body>
</html>
